package com.yegs.jltqc.service;

import com.yegs.jltqc.TO.MoldPageQuery;
import com.yegs.jltqc.TO.NamePageQuery;
import com.yegs.jltqc.VO.BaseRole;
import com.yegs.jltqc.VO.Formwork;
import com.yegs.jltqc.VO.OutCome;
import com.yegs.jltqc.common.StoreException;
import org.springframework.data.domain.Page;

import java.util.List;

public interface FormworkService {

    Formwork save(Formwork formwork);

    List<Formwork> list();

    Formwork get(Long id);

    List<Formwork> getFormworkByMold(String mold);

    Long getNext(Long id, String mold);

    Long getLast(Long id, String mold);

    void del(Long id);
    Page<Formwork> query(MoldPageQuery query);

}
